import {
	defineStore
} from 'pinia'

export const userStore = defineStore("shopInfo", { // 定义状态
	state: () => ({
		count: 10
	}),
	getters: {
		doubleCount: (state) => state.count * 2
	},
	actions: {
		setCount(v) {
			console.log(789);
			// this.count = v
		}
	},
})